package com.dadao.mall.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
//指定spring扫描路径
@ComponentScan(basePackages = "com.dadao.mall.**")
public class MallProviderAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallProviderAdminApplication.class, args);
    }

}
